function opts = jsonl_generate_options(options)
    arguments
        options.DataHandle (1, 1) function_handle
        options.DataHandleArgs = []
        options.SystemPromptFile (1, 1) string = "task description-maxload.txt"
        options.GridsFile (1, 1) string = ""
        options.SolutionPath (1, 1) string = "solution.mat"
        options.JsonlPath (1, 1) string = "data.jsonl"
    end
    opts.data_handle = options.DataHandle;
    opts.data_handle_args = options.DataHandleArgs;
    opts.system_prompt_file = options.SystemPromptFile;
    opts.grids_file = options.GridsFile;
    opts.solution_path = options.SolutionPath;
    opts.jsonl_path = options.JsonlPath;
end
